package cn.sumpu.app.guoguojie.dao;

import java.util.List;
import java.util.Map;

import cn.sumpu.app.guoguojie.domain.Family;
import cn.sumpu.app.guoguojie.exception.AppBusinessException;

public interface FamilyDao {
	public void insert(Family family) throws AppBusinessException;
	
	public List<Family> getFamilyList(Map<String,Object> map)throws AppBusinessException;
	
	public void updateFamily(Family family)throws AppBusinessException;
	
	//通过会员编号查询得到家的信息
	public Family getFamilyByMember(String member)throws AppBusinessException;
	
}
